package com.pactera.madp.cp.common.enums.sync;

import com.pactera.madp.cp.service.sync.*;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * CRM系统同步服务类型
 */
@Getter
@AllArgsConstructor
public enum CrmServiceEnum {

    TAG("tag", SyncCustTagInfoService.class, CrmCustTagSyncBusinessService.class),
    ASSETS("assets", SyncAssetsInfoService.class, CrmAssetsSyncBusinessService.class),
    CUSTOM("custom", SyncCustomInfoService.class, CrmCustomSyncBusinessService.class),
    FINA_EXPIRE("fina_expire", SyncFinaExpireInfoService.class, BusiSyncFinaExpireService.class),
    DKFINA_EXPIRE("dkfina_expire", SyncDkfinaExpireInfoService.class, BusiSyncDkfinaExpireService.class),
    IMPORTANT_DAYS("important_days", SyncImportantDaysInfoService.class, BusiSyncImportantDaysService.class),
    PRE_SAVEDEPT("pre_savedept", SyncPreSavedeptInfoService.class, BusiSyncPreSavedeptService.class);

    // CRM子类型
    private String subType;
    // 同步数据服务类型
    private Class serviceType;
    // 同步业务服务类型
    private Class businessServiceType;
}
